import axios from '@/http/axios'
//获取所有用户
export function getallusers(){
  return axios({
    url : '/sys/user/list',
    params:{pageSize:1000},
    method : 'get',
  })
}
//获取业务员
export function getallsalesmans(){

  return axios({
    url : '/sys/user/salesman/list',
    method : 'get',
  })
}
//根据业务员获取关联的客服、账单人
export function getallrealtion(params){
  return axios({
    url:'/customer/relation/getRelationById',
    method : 'get',
    params : params
  })
}
//查询国家基础数据表
export function getallcountries(){
  return axios({
    url:'/sys/bdCountry/getCountries',
    method:'get'
  })
}
//根据国家获取省
export function getstateList(params){
  return axios({
    url:'/sys/bdCountry/getStateList',
    method:'get',
    params:params
  })
}

//根据省获取市
export function getcityList(params){
  return axios({
    url:'/sys/bdCountry/getCityList',
    method:'get',
    params:params
  })
}
//获取系统币种
export function getcurlist(){
  return axios({
    url:'/sys/cur/list',
    method:'get',
  })
}
//获取国家级联数据 暂时不用
export function getCasedCountry(){
  return axios({
    url:'/sys/bdCountry/getCased',
    method : 'get',
  })
}


//获取所有港口基础数据
export function getBdPortList() {
  return axios({
    url: '/sys/bdPort/list',
    method: 'get',
  })

}
//获取所有费用类别
export function getBdFeeTypeList() {
  return axios({
    url: '/sys/feeType/list',
    method: 'get',
  })

}
